F = document.getElementById('fcs');
TL = F ? '</div>' : '<base target="_blank" /><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>';

if (! F) {
    P = 1;
    N = 0;
    CP = 1;
    F = 0;
    MENU = new Array(
        '2005年10月 - 京阪神之旅', '', 0,
        '初出發 - 陰雨大阪', 'japanday1', 6,
        '第二日 - 浪漫神戶', 'japanday2', 7,
        '第三日 - 再遊大阪', 'japanday3', 5,
        '第四日 - 晴日京都', 'japanday4', 6,
        '最後日 - 大阪歸途', 'japanday5', 2
    );

    document.write('<div id="lm">');
    for (I=0;I<MENU.length;I+=3) {
        if (MENU[I+1]) {
            if (location.href.indexOf(MENU[I+1]) > 0) {
                T = '<b>'+MENU[I]+'</b>';
                P = MENU[I+2];
                N = I;
            } else {
                T = '<a href="'+MENU[I+1]+'.html">'+MENU[I]+'</a>';
            }
            document.write(T);
        } else {
            document.write('<div>'+MENU[I]+'</div>');
        }
    }
    document.write('</div>');

    if (P>1) {
        M = location.href.replace(/^.+-(\d)\.html$/, '$1');
        if (M = M * 1) CP = M;
    }
    document.write('<div id="as"><a id="fcs" href="#" /></a>');
    F = document.getElementById('fcs');
    F.focus();
}

T = '<base target="_self" /><div>';
if (N) {
    T += '<input type="image"'+(F?' accesskey="P" title="往前一頁 (熱鍵Alt+P)"':'')+' onclick="location.href='+"'"+MENU[(CP>1)?N+1:N-2]+((CP>2)?('-'+(CP-1)):'')+((N+CP>4)?'.html':'')+"'"+'" src="i04.gif">';
    T += '<input type="image"'+(F?' accesskey="T" title="到首頁 (熱鍵Alt+T)"':'')+' onclick="location.href='+"'index.html'"+'" src="i03.gif">';
}

if (N<MENU.length-3 || CP < P) {
    T += '<input type="image"'+(F?' accesskey="N" title="往下一頁 (熱鍵Alt+N)"':'')+' onclick="location.href='+"'"+MENU[(CP<P)?N+1:N+4]+((CP<P)?('-'+(CP+1)):'')+'.html'+"'"+'" src="i02.gif">';
}

T += '<input type="button" class="swb" onclick="document.body.className=' + "'expand'" + '" value="展開圖片" />';

if (P>1) {
    S = '[ ';
    for (I=1;I<=P;I++) {
        T += (S+(I==CP ? '<b>'+I+'</b>' : '<a href="'+MENU[N+1]+(I>1?('-'+I):'')+'.html'+'">'+I+'</a>'));
        S = ' | ';
    }
    T += ' ]';
}
document.write(T+'</div>'+TL);

if (F) {
    _uacct = "UA-400506-3";
    setTimeout('urchinTracker();', 1000);
}